package com.info33.platform.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.info33.platform.common.mvc.vo.Result;
import com.info33.platform.system.entity.SysPost;
import com.info33.platform.system.vo.SysUserVO;

import java.util.List;

/**
 * @author admin
 */
public interface SysPostService extends IService<SysPost> {

    /**
     * pc - 新增角色
     *
     * @param entity      -
     * @param currentUser -
     * @return -
     */
    Result<Object> pcAdd(SysPost entity, SysUserVO currentUser);

    /**
     * pc - 批删除
     *
     * @param ids         -
     * @param currentUser -
     * @return -
     */
    Result<Object> removeList(List<Long> ids, SysUserVO currentUser);

    /**
     * pc - 编辑岗位
     *
     * @param entity      -
     * @param currentUser -
     * @return -
     */
    Result<Object> pcEdit(SysPost entity, SysUserVO currentUser);
}